#ifndef TXTOPER_H
#define TXTOPER_H

#include <QString>
#include <QList>

class JS_Oper
{
public:
    JS_Oper();

public:
    int ReadAllLines(QString _strJsFile,
                     QList<QString> _listLines);
    int JsBlockIndexs(QString _strJsFile,
                      QList<int> &_list);
    int JsBlockGetByIdx(QString _strJsFile,
                        int _iIdx, QString &_strOut);

    int JsBlockGetByFnName(QString _strJsFile,
                           QString _strFnName, QString &_strOut);
};

#endif // TXTOPER_H
